home *** CD-ROM | disk | FTP | other *** search
- Path: jasmine.cms.dmu.ac.uk!se4pm
- From: se4pm@dmu.ac.uk (Piers Myers)
- Newsgroups: comp.lang.c++
- Subject: Re: newbie need help with pointers
- Date: 9 Jan 1996 18:33:47 GMT
- Organization: De Montfort University, Leicester
- Distribution: world
- Message-ID: <4cuceb$eea@macondo.dmu.ac.uk>
- References: <4cse34$308@news.iconn.net>
- NNTP-Posting-Host: jasmine.cms.dmu.ac.uk
- X-Newsreader: TIN [version 1.2 PL2]
-
- In article <4cse34$308@news.iconn.net>, The Crow (thecrow@iconn.net) writes:
- > Hey,
- > Ok, I understand what pointers *are*, I know how to declare one, how to
- > use them with simple things and sometimes how to use them to do dynamic memory
- > allocation. I don't feel very comfortable with them yet, nor have I seen any
- > practical example of where they are useful *except* for dynamic memory
- > allocation and in functions...and in arrays, but I am not very comfortable in
- > any of these uses anyway, and can't think of a real problem where it would be
- > advantageous or neccesary to use them. I have also had some trouble using them
- > with STRUCTURE arrays (havent tried classes yet but I assume I will run into
- > similar problems)
-
- > If anyone has a good idea for a programming exercise that would get me
- > familiar with pointers tell me. My tutorial's exercises are way too easy. If
- > it was an interesting one that would be nice, but just so I get comfortable
- > with them. I don't really know them well enough to think of a good exercise
- > myself, or I would. Thanks for the help in advance. Please reply via email,
- > this newsgroup grows too fast. Thanks.
-
- > --
- > The Crow - thecrow@iconn.net
- > "It can't rain all the time"
- > -Kryptology
-
- You could try to write a double linked list iteration, insertion and deletion.
-
- Piers
-